package com.bbcare.followup.plat.service;

import com.bbcare.followup.plat.vo.ExamRuleVo;

import java.util.List;
import java.util.Map;

/**
 * 凯里模块。
 */
public interface IKailiService {
    public final static Integer AGE_NULL    = 9999;
    public final static String GENDER_MALE  = "N";
    public final static String GENDER_FEMALE= "F";
    public final static String GENDER_NULL  = "U";
    public final static String SYMBOL_GT    = ">";
    public final static String SYMBOL_GE    = ">=";
    public final static String SYMBOL_LT    = "<";
    public final static String SYMBOL_LE    = "<=";
    public final static String SYMBOL_EQ    = "==";
    public final static String SYMBOL_NE    = "!=";
    public final static String SYMBOL_NIL   = "nil";

    public final static String DEFAULT_LABEL_LENGTH = "6";

    /**
     * 查询儿童体检的一级指标。
     * @return
     */
    public List<Map<String,Object>> queryChildIndex1();

    /**
     * 查询儿童体检的二级指标。
     * @return
     */
    public List<Map<String,String>> queryChildIndex2(final String index1);

    /**
     * 查询体检儿童。
     * @param paraMap
     * @return
     */
    public Map<String,Object> queryBabyList(final Map<String,Object> paraMap);

/*统计大屏-----------------------------------------------------------------------------*/
    public Map center(final Map<String,Object> paraMap);
    public Map bottom(final Map<String,Object> paraMap);
    public Map left(final Map<String,Object> paraMap);
    public Map right(final Map<String,Object> paraMap);

    /*幼儿园操作-----------------------------------------------------------------------------*/
    /**
     * 模糊查询幼儿园列表。
     * @param nameLike
     * @return
     */
    public Map<String,Object> queryNurseryList(final String nameLike);
    /**
     * 增加1个新的幼儿园。
     * @param paraMap
     * @return
     */
    public int insertNursery(final Map<String,Object> paraMap);
}
